﻿using FarmSmartSleep.Common.Dtos;
using FarmSmartSleep.Common.Infrastructure;
using MediatR;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System.ComponentModel.DataAnnotations;

namespace R.FarmSmartSleep.RBAC.API.Apliction.Command
{
    public class PhoneCaptchaCreateCommon:IRequest<Result>
    {
        /// <summary>
        /// 手机验证码主键
        /// </summary> 
        public int PhoneCaptchaId { get; set; }
        /// <summary>
        /// 员工主键
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string Captcha { get; set; }
        public DateTime PhoneDate { get; set; }=DateTime.Now;
    }
}
